import { apiResquest } from './request.js'

//POST 请求案例
export const token = (query) => {
	return apiResquest({
		url: '/auth/oauth/token',
		method: 'get',
		query: {...query}
	})
}
//get 获取常见问题
export const question = ()=>{
	return apiResquest({
		url: '/questions',
		method: 'get',
	})
}
// 选择城市的接口
export const city = () => {
	return apiResquest({
		url:'/city',
		method:'get'
	})
}

// 获取订单列表
export const getOrderList = () => {
	return apiResquest({
		url: '/getOrderList',
		method: 'get'
	})
}
//获取运单信息数据
export const getWaybill = () => {
	return apiResquest({
		url: '/waybill',
		method: 'get',
	})
}
